import 'package:flutter/material.dart';
import 'package:xvideos/tools_base/widget/net_image_widget.dart';

import '../../../hj_model/home/collection_resp.dart';

class SimpleCollectionsItem extends StatelessWidget {
  final CollectionModel videoModel;
  const SimpleCollectionsItem(this.videoModel, {super.key});

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      //   onTap: () => Get.to(StateDetailPage(model: videoModel), preventDuplicates: false),
      child: Container(
        padding: EdgeInsets.only(bottom: 14),
        child: NetworkImageLoader(
          imageUrl: videoModel.cover ?? '',
          height: 222,
          borderRadius: 12,
        ),
      ),
    );
  }
}
